package com.briup.mybatis02code.entity;

import lombok.*;
import org.apache.ibatis.type.Alias;

@Data
//@Getter
//@Setter
@NoArgsConstructor
@AllArgsConstructor
//@ToString
//@EqualsAndHashCode
@Alias("User")
public class User {
    private Integer id;  //id（主键）
    private String name; //姓名
    private Short age;//年龄
    private Short gender; //性别
    private String phone; //手机号
    private String tel;

}
